<template>
<div class="item">
  <slot></slot>
</div>
</template>
<style>
.wrapper .item{
    display: flex;
    align-items: center;
    justify-content: center;
    /* 250/5 */
    height: 50px;
    /* 在子元素的中间 */
    scroll-snap-align: center;
    color: #000;
}
</style>